<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
<meta charset="UTF-8">
<title>添加学生信息</title>

</head>
<body align="center"
	style="background-image: url(images/a.gif); background-size: 100%;">
	<%
		Object message = request.getAttribute("message");
	if (message != null && !"".equals(message)) {
	%>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>
		");
		var asd = request.getAttribute("name");
	</script>
	<%
		}
	%>
<!-- 	<div style="margin-top: 50px"> -->
<!-- 		<img src="images/logo11.png"> -->
<!-- 	</div> -->
	<div align="center"
		style="position: absolute; left: 47%; top: 55%; transform: translate(-50%, -50%); width: 300px; height: 620px; margin-top: 65px; color: black;">
		<div
			style="border: 5px solid black; width: 400px; height: 360px; border-radius: 35px;">
			<h1 style="color: #EAC100;">添加学生信息</h1>
			<form action="Servlet?method=addstu" method="post">
				<table style="font-size: 20px;">

					<tr>
						<th>学号：</th>
						<td><input name="xuehao" type="text" /></td>
					</tr>
					<tr>
						<th>姓名：</th>
						<td><input name="xingming" type="text" /></td>
					</tr>
					<tr>
						<th>性别：</th>
						<td><input name="xingbie" type="radio" value="男" />男 <input
							name="xingbie" type="radio" value="女" />女</td>
					</tr>
					<tr>
						<th>班级：</th>
						<td><input name="banji" type="text"></td>
					</tr>
					<tr>
						<th>专业：</th>
						<td><input name="zhuanye" type="text"></td>
					</tr>
					<tr>
						<th>密码：</th>
						<td><input name="password" type="text"></td>
					</tr>


				</table>
				<div style="width: 300px; height: 100px; margin-top: 30px">
					<input type="button" value="返  回"
						style="width: 100px; height: 32px; float: left; margin-left: 30px; font-size: 16px;"
						onclick="location.href='index0.jsp'" /> 
						<input type="submit"
						value="提  交"
						style="width: 100px; height: 32px; float: right; margin-right: 30px; font-size: 16px;" />
				</div>
			</form>
		</div>
	</div>
	<div
		style="width: 100%; height: 10px; position: absolute; bottom: 23%; color: black;">
		<h1>当前用户：${prename }</h1>
	</div>
	

</body>
</html>